package com.varton.demo.method;

import com.varton.demo.Anta;
import com.varton.demo.Shoe;

/**
 *
 * @author varton
 */
public class AntaFactroy implements MethodFactory{
    @Override
    public Shoe newInstance() {
        return new Anta();
    }
}